#include "mainwindow.h"

#include <QApplication>

int main(int argc, char *argv[])
{
    // 设置键盘的环境变量
    qputenv("QT_IM_MODULE", "qtvirtualkeyboard");
    qputenv("QT_VIRTUALKEYBOARD_LAYOUT_PATH", "qtvirtualkeyboard/src/layouts");
    QApplication a(argc, argv);
    MainWindow w;
    w.InitUI();
    w.show();
    return a.exec();
}
